<include file="../header" />
<body class="J_scroll_fixed">
    <script>


    </script>
<!--<form class="well form-search" method="post" style="float:left;width:100%;" action="{:U('science/index')}">-->
    <!--<div class="search_type cc mb10">-->
        <!--<div class="mb10">-->
        <!--<span class="mr20">-->
            <!--标题名称：<input type="text" name="s#title-like" value="{$title}" />-->
            <!--<button class="btn btn-primary" type="submit">搜索</button>-->
            <!--<a class="btn" href="{:U('science/index')}">重置</a>-->
        <!--</span>-->
        <!--</div>-->
    <!--</div>-->
<!--</form>-->
<div class="wrap J_check_wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="{:U('rule/index')}">规则信息</a></li>
        <li><a href="{:U('rule/add')}">添加规则</a></li>
    </ul>
    <table class="table table-hover table-bordered">
        <thead>
            <tr>
                <th>所属病症</th>
                <th>描述</th>
                <th>价格</th>
                <th>相隔天数</th>
                <th>创建时间</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody>
        <foreach name="list" item="vo">
            <tr>
                <td>{$vo.category_name}</td>
                <td>{$vo.desc}</td>
                <td>{$vo.price}元</td>
                <td>{$vo.days}天</td>
                <td>{$vo.create_time}</td>
                <td>
                    <a href='{:U("rule/edit",array("id"=>$vo["rule_id"]))}'>编辑</a>
                </td>
            </tr>
        </foreach>
        </tbody>
    </table>
    <div class="pagination">{$page}</div>
</div>
<script src="__ROOT__/statics/js/common.js"></script>
</body>
</html>